<template>
  <div class="content">
    <div class="title">
      <p>Subscribe Newsletter & get</p>
      <p>Pet<span style="color: red; margin: 0">.</span>care News</p>
    </div>
    <div class="search">
      <input type="text" placeholder="Enter your E-mail address" />
      <button type="button" class="btn">Subscribe Now</button>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style  scoped>
p,
span {
  margin: 0;
  padding: 0;
}
.content {
  overflow: hidden;
  margin: 150px auto;
  /* height: 50vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.title {
  color: #000755;
  vertical-align: middle;
  text-align: center;
  font-size: 67px;
  font-weight: bolder;
}
.search {
  display: flex;
  justify-content: space-between;
  width: 900px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 40px;
}
.search input {
  border: none;
  border-radius: 100px;
  margin: auto 30px;
  width: 60%;
  height: 36px;
  /* background-color: red; */
  display: inline-block;
  font-size: 18px;
}
.btn {
  float: right;
  background-color: #ff5b2e;
  color: #ffffff;
  border: none;
  width: 200px;
  height: 70px;
  border-radius: 30px;
  margin: 10px;
  font-size: 18px;
}
@media screen and (min-width: 320px) and (max-width: 768px) {
  .search {
    width: 500px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1440px) {
  .title {
    font-size: 55px;
  }
  .search {
    width: 800px;
  }
}
/* 台式电脑显示器屏幕字体大小 */
@media screen and (min-width: 1440px) {
}
</style>